package it.eng.area118.mdocommon;

/**
 * 
 * @author Luigi Bifulco
 * 
 */
public interface UI {

	/**
	 * This method include all operations to be done when the ui is intialized
	 */
	public void init();

	/**
	 * Method called when the ui is intialized
	 */
	public void onStarted();

	/**
	 * Triggered all times the UI is made visible to the user by the system
	 */
	public void onVisible();

	/**
	 * Triggered all times the UI is made not visible to the user by the system.
	 */
	public void onUnvisible();
	

	// /**
	// * Triggered all times the UI refreshed
	// */
	// public void onRefresh();

	/**
	 * Triggered when the UI is destroyed
	 */
	public void onShutdown();

}
